package me.leiusual.sharing.api.model

/**
 * author: leiusual
 * create on: 2019-07-29
 * description:
 */
class BusinessApply {

  data class Request(
      val businessLevel: String,
      val businessType: String,
      val selectedProducts: List<SelectedProduct>,
      val storeId: Long // 申请业务的店铺ID
  ) {

    data class SelectedProduct(
        val conditionName: String,
        val productCountMap: Map<Long, Int>,
        val referStoreId: Long,
        val storeId: Long // 发货的店铺ID
    )
  }

  data class Response(
      val cartId: Long,
      val quantity: Int
  )
}